<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Tree View 树列表组件 | Farris Vue</title>
    <meta name="description" content="基于 Farris Design 的前端组件库">
    <link rel="stylesheet" href="/farris-docs/assets/style.9c7b209d.css">
    <link rel="modulepreload" href="/farris-docs/assets/chunks/demo-data.f9bbe91d.js">
    <link rel="modulepreload" href="/farris-docs/assets/app.d774b31e.js">
    <link rel="modulepreload" href="/farris-docs/assets/components_tree-view_index.md.140dbd25.lean.js">
    
    <link rel="icon" type="image/svg+xml" href="/assets/logo.svg">
  <script id="check-dark-light">(()=>{const e=localStorage.getItem("vitepress-theme-appearance"),a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
  </head>
  <body>
    <div id="app"><div class="Layout" style="overflow:;" data-v-7931bc62><!--[--><!--]--><!--[--><span tabindex="-1" data-v-e5432199></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-e5432199> Skip to content </a><!--]--><!----><header class="VPNav farris-doc-nav" data-v-7931bc62 data-v-da424a9f><div class="VPNavBar has-sidebar" data-v-da424a9f data-v-b1fa3cb3><div class="container" data-v-b1fa3cb3><div class="VPNavBarTitle has-sidebar" data-v-b1fa3cb3 data-v-08a0582b><a class="title" href="/farris-docs/" data-v-08a0582b><!--[--><!--]--><!--[--><!--[--><!--[--><img class="VPImage dark logo" src="/farris-docs/assets/farris_design_dark.png" data-v-c275e709><!--]--><!--[--><img class="VPImage light logo" src="/farris-docs/assets/farris_design_light.png" data-v-c275e709><!--]--><!--]--><!--]--><!--[--><!--]--></a></div><div class="content" data-v-b1fa3cb3><!--[--><!--]--><!----><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-b1fa3cb3 data-v-679cb37a><span id="main-nav-aria-label" class="visually-hidden" data-v-679cb37a>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/farris-docs/" data-v-679cb37a data-v-6714f210 data-v-5c2f824f><!--[-->设计原则<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/farris-docs/guide/quick-start/" data-v-679cb37a data-v-6714f210 data-v-5c2f824f><!--[-->组件<!--]--><!----></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-b1fa3cb3 data-v-aa11538a><a href="https://gitee.com/ubml/farris-vue" target="_blank" class="address" title="前往Farris Vue" data-v-aa11538a><img src="/farris-docs/assets/gitee.svg" data-v-aa11538a></a><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" aria-label="toggle dark mode" data-v-aa11538a data-v-477cf890 data-v-21592fff><span class="check" data-v-21592fff><span class="icon" data-v-21592fff><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-477cf890><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-477cf890><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span><div class="switch-bg" data-v-21592fff><span class="sun-bg" data-v-21592fff><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" data-v-21592fff><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg></span><span class="moon-bg" data-v-21592fff><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" data-v-21592fff><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg></span></div></button></div><!----><div class="VPFlyout VPNavBarExtra extra" data-v-b1fa3cb3 data-v-34bbaa77 data-v-9230b9b1><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-9230b9b1><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-9230b9b1><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle><circle cx="5" cy="12" r="2"></circle></svg></button><div class="menu" data-v-9230b9b1><div class="VPMenu" data-v-9230b9b1 data-v-7703286e><!----><!--[--><!--[--><!----><div class="group" data-v-34bbaa77><div class="item appearance" data-v-34bbaa77><p class="label" data-v-34bbaa77>Gitee</p><div class="appearance-action" data-v-34bbaa77><a href="https://gitee.com/ubml/farris-vue" target="_blank" class="address" title="前往Farris Vue" data-v-34bbaa77><img src="/farris-docs/assets/gitee.svg" data-v-34bbaa77></a></div></div><div class="item appearance" data-v-34bbaa77><p class="label" data-v-34bbaa77>Appearance</p><div class="appearance-action" data-v-34bbaa77><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" aria-label="toggle dark mode" data-v-34bbaa77 data-v-477cf890 data-v-21592fff><span class="check" data-v-21592fff><span class="icon" data-v-21592fff><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-477cf890><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-477cf890><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span><div class="switch-bg" data-v-21592fff><span class="sun-bg" data-v-21592fff><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" data-v-21592fff><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg></span><span class="moon-bg" data-v-21592fff><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" data-v-21592fff><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg></span></div></button></div></div></div><!----><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-b1fa3cb3 data-v-ca531bc0><span class="container" data-v-ca531bc0><span class="top" data-v-ca531bc0></span><span class="middle" data-v-ca531bc0></span><span class="bottom" data-v-ca531bc0></span></span></button></div></div></div><!----></header><!--[--><div class="VPLocalNav" data-v-c7aecfc1><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-c7aecfc1><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="menu-icon" data-v-c7aecfc1><path d="M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"></path><path d="M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"></path><path d="M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"></path><path d="M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"></path></svg></button></div><a class="top-link" href="#" data-v-c7aecfc1><span data-v-c7aecfc1></span></a><!--]--><aside class="VPSidebar" data-v-7931bc62 data-v-25121ce1><!--[--><div class="farris-docs-nothome-bg" data-v-7931bc62></div><!--]--><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-25121ce1><span class="visually-hidden" id="sidebar-aria-label" data-v-25121ce1> Sidebar Navigation </span><!--[--><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>介绍</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/guide/quick-start/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>快速开始</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>通用</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/button/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Button 按钮</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/button-group/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Button Group 按钮组</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/icon/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Icon 图标</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/response-toolbar/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Response Toolbar 响应式工具条</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>导航</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/nav/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Nav 导航条</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/accordion/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Accordion 手风琴</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/step/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Step 步骤条</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/pagination/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Pagination 分页条</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>布局</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/section/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Section 面板</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/tabs/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Tabs 标签页</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/layout/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Layout 布局</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/splitter/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Splitter 布局</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>录入数据</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/button-edit/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Button Edit 按钮输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/input-group/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Input Group 智能输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/language-textbox/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Language Textbox 多语输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/textarea/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Textarea 多行文本框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/combo-list/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Combo List 选择输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/combo-tree/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Combo Tree 下拉树输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/dropdown/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Dropdown 选择输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/date-picker/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Date Picker 日期选择框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/radio-group/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Radio Group 单选组</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/checkbox/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Checkbox Group 多选组</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/color-picker/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Color Picker 颜色选择器</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/switch/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Switch 开关</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/text/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Text 静态文本</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/time-picker/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Time Picker 时间选择框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/tags/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Tags 标签</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/rate/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Rate 评分</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/search-box/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Search Box 搜索框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/dynamic-form/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Dynamic Form 动态输入组件</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/number-spinner/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Number Spinner 数字输入框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/number-range/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Number Range 数字区间</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/order/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Order 排序</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/query-solution/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>QuerySolution 条件列表</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/lookup/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Lookup 参照数据选择</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>展示数据</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/avatar/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Avatar 图像</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/image/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Image 图像</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/image-cropper/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Image Cropper 图像裁剪</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/calendar/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Calendar 日历</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/capsule/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Capsule 胶囊按钮</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/data-grid/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Data Grid 表格</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/list-nav/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>List Nav 列表导航</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/list-view/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>List View 列表</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/progress/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Progress 进度条</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/tree-grid/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Tree Grid 树表格</span><!----><!--]--><!----></a><a class="VPLink link link active" href="/farris-docs/components/tree-view/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Tree View 树列表</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/transfer/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Transfer 穿梭框</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/calculator/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Calculator 计算器</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/filter-bar/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Filter Bar 筛选条</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/video/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Video 视频播放器</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/page-header/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Page Header 页头</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/page-footer/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Page Footer 页脚</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/discussion-list/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Discussion List 评论列表</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>反馈</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/modal/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Modal 模态窗口</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/drawer/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Drawer 抽屉</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/message-box/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Message Box 消息弹窗</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/notify/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Notify 通知消息</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/popover/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Popover 气泡提示</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/tooltip/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Tooltip 提示信息</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/verify-detail/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>VerifyDetail 验证信息</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/loading/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Loading 加载</span><!----><!--]--><!----></a><a class="VPLink link link" href="/farris-docs/components/discussion-editor/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Discussion Editor 评论编辑区</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>快捷指令</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/area-response/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>areaResponse 区域响应</span><!----><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-25121ce1><section class="VPSidebarGroup" data-v-25121ce1 data-v-61b1effc><div class="title" data-v-61b1effc><h2 class="title-text" data-v-61b1effc>操作</h2><div class="action" data-v-61b1effc><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-61b1effc><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-61b1effc><!--[--><a class="VPLink link link" href="/farris-docs/components/uploader/" data-v-61b1effc data-v-4f0307c4 data-v-5c2f824f><!--[--><span class="link-text" data-v-4f0307c4>Uploader 附件上传</span><!----><!--]--><!----></a><!--]--></div></section></div><!--]--></nav></aside><div class="VPContent has-sidebar is-doc" id="VPContent" data-v-7931bc62 data-v-c3b10b02><div class="VPDoc has-sidebar has-aside" data-v-c3b10b02 data-v-a545b97f><div class="container" data-v-a545b97f><div class="aside" data-v-a545b97f><div class="aside-curtain" data-v-a545b97f></div><div class="aside-container" data-v-a545b97f><div class="aside-content" data-v-a545b97f><div class="VPDocAside" data-v-a545b97f data-v-ba4c8bfa><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline has-outline" data-v-ba4c8bfa data-v-125fe4b5><div class="content" data-v-125fe4b5><div class="outline-marker" data-v-125fe4b5></div><div class="outline-title" data-v-125fe4b5>On this page</div><nav aria-labelledby="doc-outline-aria-label" data-v-125fe4b5><span class="visually-hidden" id="doc-outline-aria-label" data-v-125fe4b5> Table of Contents for current page </span><ul class="root" data-v-125fe4b5><!--[--><li style="" data-v-125fe4b5><a class="outline-link" href="#基本用法" data-v-125fe4b5>基本用法</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#勾选树节点" data-v-125fe4b5>勾选树节点</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#自动勾选节点" data-v-125fe4b5>自动勾选节点</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#显示图标" data-v-125fe4b5>显示图标</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#显示动态图标" data-v-125fe4b5>显示动态图标</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#显示连接线" data-v-125fe4b5>显示连接线</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#获取返回值" data-v-125fe4b5>获取返回值</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#合并返回值" data-v-125fe4b5>合并返回值</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#增加和删除树节点" data-v-125fe4b5>增加和删除树节点</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#选中数据变化事件" data-v-125fe4b5>选中数据变化事件</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#treeview" data-v-125fe4b5>TreeView</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#treenodeiconsdata" data-v-125fe4b5>TreeNodeIconsData</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#hierarchyoptions" data-v-125fe4b5>HierarchyOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#cascadeoptions" data-v-125fe4b5>CascadeOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#treenode" data-v-125fe4b5>TreeNode</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#treegridcolumn" data-v-125fe4b5>TreeGridColumn</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#rowoptions" data-v-125fe4b5>RowOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#columnoptions" data-v-125fe4b5>ColumnOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#selectionoptions" data-v-125fe4b5>SelectionOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#summaryoptions" data-v-125fe4b5>SummaryOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#commandoptions" data-v-125fe4b5>CommandOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#columncommand" data-v-125fe4b5>ColumnCommand</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#sortoptions" data-v-125fe4b5>SortOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#rownumberoptions" data-v-125fe4b5>RowNumberOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#groupoptions" data-v-125fe4b5>GroupOptions</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#treeview-event" data-v-125fe4b5>TreeView Event</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#treeview-api" data-v-125fe4b5>TreeView API</a><!----></li><li style="" data-v-125fe4b5><a class="outline-link" href="#插槽" data-v-125fe4b5>插槽</a><!----></li><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-ba4c8bfa></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-a545b97f><div class="content-container" data-v-a545b97f><!--[--><!--]--><main class="main" data-v-a545b97f><div style="position:relative;" class="vp-doc _farris-docs_components_tree-view_index" data-v-a545b97f><div><h1 id="tree-view-树列表组件" tabindex="-1">Tree View 树列表组件 <a class="header-anchor" href="#tree-view-树列表组件" aria-hidden="true">#</a></h1><p>Tree View 组件以树形式展现层级结构数据。</p><h2 id="基本用法" tabindex="-1">基本用法 <a class="header-anchor" href="#基本用法" aria-hidden="true">#</a></h2><!----><h2 id="勾选树节点" tabindex="-1">勾选树节点 <a class="header-anchor" href="#勾选树节点" aria-hidden="true">#</a></h2><!----><h2 id="自动勾选节点" tabindex="-1">自动勾选节点 <a class="header-anchor" href="#自动勾选节点" aria-hidden="true">#</a></h2><!----><h2 id="显示图标" tabindex="-1">显示图标 <a class="header-anchor" href="#显示图标" aria-hidden="true">#</a></h2><!----><h2 id="显示动态图标" tabindex="-1">显示动态图标 <a class="header-anchor" href="#显示动态图标" aria-hidden="true">#</a></h2><p>树节点图标来源于绑定数据，由属性iconField指定。</p><!----><h2 id="显示连接线" tabindex="-1">显示连接线 <a class="header-anchor" href="#显示连接线" aria-hidden="true">#</a></h2><!----><h2 id="获取返回值" tabindex="-1">获取返回值 <a class="header-anchor" href="#获取返回值" aria-hidden="true">#</a></h2><!----><h2 id="合并返回值" tabindex="-1">合并返回值 <a class="header-anchor" href="#合并返回值" aria-hidden="true">#</a></h2><p>当选择多条数据时，将具有相同父节点的返回值合并，仅返回共有的父节点</p><!----><h2 id="增加和删除树节点" tabindex="-1">增加和删除树节点 <a class="header-anchor" href="#增加和删除树节点" aria-hidden="true">#</a></h2><!----><h2 id="选中数据变化事件" tabindex="-1">选中数据变化事件 <a class="header-anchor" href="#选中数据变化事件" aria-hidden="true">#</a></h2><!----><h2 id="treeview" tabindex="-1">TreeView <a class="header-anchor" href="#treeview" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">customClass</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">自定义表格class,空格分隔</td></tr><tr><td style="text-align:left;">data</td><td style="text-align:left;"><code>Object</code></td><td style="text-align:left;"><code>[]</code></td><td style="text-align:left;">绑定数据，可以设置<a href="#treenode">TreeNode</a>类型</td></tr><tr><td style="text-align:left;">columns</td><td style="text-align:left;">array&lt;<a href="#treegridcolumn">TreeGridColumn</a>&gt;</td><td style="text-align:left;"><code>[]</code></td><td style="text-align:left;">列属性</td></tr><tr><td style="text-align:left;">hierarchy</td><td style="text-align:left;"><a href="#hierarchyoptions">HierarchyOptions</a></td><td style="text-align:left;"><code>{ hasChildrenField: &#39;hasChildren&#39;, layerField: &#39;layer&#39;, parentIdField: &#39;parent&#39; }</code></td><td style="text-align:left;">分级信息</td></tr><tr><td style="text-align:left;">treeNodeIconsData</td><td style="text-align:left;"><a href="#treenodeiconsdata">Object</a></td><td style="text-align:left;"><code>{}</code></td><td style="text-align:left;">树节点图标数据</td></tr><tr><td style="text-align:left;">showTreeNodeIcons</td><td style="text-align:left;"><code>Boolean</code></td><td style="text-align:left;"><code>false</code></td><td style="text-align:left;">是否显示图标集</td></tr><tr><td style="text-align:left;">showLines</td><td style="text-align:left;"><code>Boolean</code></td><td style="text-align:left;"><code>false</code></td><td style="text-align:left;">是否显示连接线</td></tr><tr><td style="text-align:left;">newDataItem</td><td style="text-align:left;"><code>Object</code></td><td style="text-align:left;">-</td><td style="text-align:left;">新增值,是个对象类型，结构与data的每一项结构一致，但是不能是TreeNode类型</td></tr><tr><td style="text-align:left;">idField</td><td style="text-align:left;"><code>String</code></td><td style="text-align:left;">&#39;id&#39;</td><td style="text-align:left;">标识字段</td></tr><tr><td style="text-align:left;">disabled</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">禁用</td></tr><tr><td style="text-align:left;">fit</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">适配父组件尺寸</td></tr><tr><td style="text-align:left;">height</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">-</td><td style="text-align:left;">高度</td></tr><tr><td style="text-align:left;">width</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">-</td><td style="text-align:left;">宽度</td></tr><tr><td style="text-align:left;">minHeight</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">300</td><td style="text-align:left;">最小高度</td></tr><tr><td style="text-align:left;">minWidth</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">400</td><td style="text-align:left;">最小宽度</td></tr><tr><td style="text-align:left;">mergeCell</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">纵向合并具有相同值的单元格</td></tr><tr><td style="text-align:left;">showFooter</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">显示底部面板</td></tr><tr><td style="text-align:left;">showHeader</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">显示顶部面板</td></tr><tr><td style="text-align:left;">showScrollBar</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">auto</td><td style="text-align:left;">显示滚动条</td></tr><tr><td style="text-align:left;">showSetting</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">显示列设置按钮</td></tr><tr><td style="text-align:left;">showBorder</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">显示边框</td></tr><tr><td style="text-align:left;">showStripe</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">显示条纹，也叫斑马线样式</td></tr><tr><td style="text-align:left;">virtualized</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">启用虚拟渲染</td></tr><tr><td style="text-align:left;">columnOption</td><td style="text-align:left;"><a href="#columnoptions">ColumnOptions</a></td><td style="text-align:left;"><code>{fitColumns: false,fitMode: &#39;none&#39;}</code></td><td style="text-align:left;">列布局配置</td></tr><tr><td style="text-align:left;">commandOption</td><td style="text-align:left;"><a href="#commandoptions">CommandOptions</a></td><td style="text-align:left;"><code>{enable: false,commands: []}</code></td><td style="text-align:left;">列配置</td></tr><tr><td style="text-align:left;">rowNumber</td><td style="text-align:left;"><a href="#rownumberoptions">RowNumberOptions</a></td><td style="text-align:left;"><code>{enable: true,width: 32,heading:&#39;序号&#39;}</code></td><td style="text-align:left;">行号配置</td></tr><tr><td style="text-align:left;">rowOption</td><td style="text-align:left;"><a href="#rowoptions">RowOptions</a></td><td style="text-align:left;"><code>{wrapContent: false, height: 28}</code></td><td style="text-align:left;">行配置，height和wrapContent属性暂不生效</td></tr><tr><td style="text-align:left;">selection</td><td style="text-align:left;"><a href="#selectionoptions">SelectionOptions</a></td><td style="text-align:left;"><code>{enableSelectRow: true,multiSelect: false,multiSelectMode: &#39;DependOnCheck&#39;,showCheckbox: false,showSelectAll: false}</code></td><td style="text-align:left;">选中行配置</td></tr><tr><td style="text-align:left;">summary</td><td style="text-align:left;"><a href="#summaryoptions">SummaryOptions</a></td><td style="text-align:left;">{enable: true, groupFields: [&#39;numericField1&#39;, &#39;numericField2&#39;]}</td><td style="text-align:left;">合计配置</td></tr></tbody></table><h2 id="treenodeiconsdata" tabindex="-1">TreeNodeIconsData <a class="header-anchor" href="#treenodeiconsdata" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">fold</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">折叠时图标class</td></tr><tr><td style="text-align:left;">unfold</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">展开时图标class</td></tr><tr><td style="text-align:left;">leafnodes</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">叶子节点图标class</td></tr></tbody></table><h2 id="hierarchyoptions" tabindex="-1">HierarchyOptions <a class="header-anchor" href="#hierarchyoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">collapseField</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">自定义的收折状态属性</td></tr><tr><td style="text-align:left;">hasChildrenField</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">自定义的包含子节点状态属性</td></tr><tr><td style="text-align:left;">parentIdField</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">自定义的父节点标识属性</td></tr><tr><td style="text-align:left;">cascadeOption</td><td style="text-align:left;"><a href="#cascadeoptions">CascadeOptions</a></td><td style="text-align:left;">--</td><td style="text-align:left;">选中行级联配置</td></tr></tbody></table><h2 id="cascadeoptions" tabindex="-1">CascadeOptions <a class="header-anchor" href="#cascadeoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">autoCheckParent</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">--</td><td style="text-align:left;">选中行自动级联父级</td></tr><tr><td style="text-align:left;">autoCheckChildren</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">选中行自动级联子级</td></tr><tr><td style="text-align:left;">autoCancelParent</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">自动取消父级，与前两个属性配合使用</td></tr><tr><td style="text-align:left;">selectionRange</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">选择结果范围</td></tr></tbody></table><h2 id="treenode" tabindex="-1">TreeNode <a class="header-anchor" href="#treenode" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">id</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">行数据标识属性，如果不设置，请在组件设置属性idField用于指定标识属性名</td></tr><tr><td style="text-align:left;">children</td><td style="text-align:left;"><code>array&lt;TreeNode&gt;</code></td><td style="text-align:left;">--</td><td style="text-align:left;">子节点集合</td></tr><tr><td style="text-align:left;">hasChildren</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">--</td><td style="text-align:left;">是否存在子节点，懒加载数据时很有用</td></tr></tbody></table><h2 id="treegridcolumn" tabindex="-1">TreeGridColumn <a class="header-anchor" href="#treegridcolumn" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性名</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">dataType</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">string</td><td style="text-align:left;">数据类型</td></tr><tr><td style="text-align:left;">editor</td><td style="text-align:left;"><code>EditorConfig</code></td><td style="text-align:left;"><code>{type: &#39;input-group&#39;}</code></td><td style="text-align:left;">编辑器配置</td></tr><tr><td style="text-align:left;">field</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">列标识</td></tr><tr><td style="text-align:left;">title</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">--</td><td style="text-align:left;">列标题</td></tr><tr><td style="text-align:left;">width</td><td style="text-align:left;"><code>number,string</code></td><td style="text-align:left;">120</td><td style="text-align:left;">列宽度</td></tr><tr><td style="text-align:left;">align</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">left</td><td style="text-align:left;">文本水平对齐方式，分为left,center,right三种</td></tr><tr><td style="text-align:left;">valign</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">top</td><td style="text-align:left;">文本垂直对齐方式，分为top,middle,bottom三种</td></tr><tr><td style="text-align:left;">fixed</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">false</td><td style="text-align:left;">是否固定列，分为left和right两种</td></tr><tr><td style="text-align:left;">visible</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">是否显示</td></tr><tr><td style="text-align:left;">readonly</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">是否只读</td></tr><tr><td style="text-align:left;">showTips</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">鼠标移动至单元格后，显示悬浮消息</td></tr><tr><td style="text-align:left;">sortable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">是否排序</td></tr><tr><td style="text-align:left;">resizable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">是否伸缩</td></tr><tr><td style="text-align:left;">filterable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">是否筛选</td></tr><tr><td style="text-align:left;">formatter(cell: VisualDataCell, visualDataRow: VisualData)</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">无默认值，可选属性</td><td style="text-align:left;">格式化函数,函数返回值为VNode 或者string类型</td></tr></tbody></table><h2 id="rowoptions" tabindex="-1">RowOptions <a class="header-anchor" href="#rowoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">customRowStyle(data:any)</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">空函数</td><td style="text-align:left;">自定义行样式函数，参数为行数据</td></tr><tr><td style="text-align:left;">showHovering</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">鼠标滑过行效果</td></tr></tbody></table><h2 id="columnoptions" tabindex="-1">ColumnOptions <a class="header-anchor" href="#columnoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">fitColumns</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">自动列宽。设为true后，所有列将填满表格并不会出现横向滚动条。</td></tr><tr><td style="text-align:left;">fitMode</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">average</td><td style="text-align:left;">自动适配列宽度模式,&#39;none&#39;或&#39;average&#39;或&#39;expand&#39;或&#39;percentage&#39;</td></tr><tr><td style="text-align:left;">groups</td><td style="text-align:left;"><code>array&lt;ColumnGroupItem&gt;</code></td><td style="text-align:left;">[]</td><td style="text-align:left;">分组, ColumnGroupItem结构是field（列标识）,title（标题）和group（ColumnGroupItem结构）</td></tr><tr><td style="text-align:left;">reorderColumn</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">允许拖动表头改变列显示顺序</td></tr></tbody></table><h2 id="selectionoptions" tabindex="-1">SelectionOptions <a class="header-anchor" href="#selectionoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">checkOnSelect</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">用多选且显示checkbox, 选中行后勾选前面的checkbox</td></tr><tr><td style="text-align:left;">clearSelectionOnEmpty</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">当数据源为空时，清空已选记录</td></tr><tr><td style="text-align:left;">keepSelectingOnClick</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">允许重复点击行是保留选中状态</td></tr><tr><td style="text-align:left;">selectOnCheck</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用多选且显示checkbox, 勾选后并且选中行</td></tr><tr><td style="text-align:left;">enableSelectRow</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">允许选中行</td></tr><tr><td style="text-align:left;">multiSelect</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用多选</td></tr><tr><td style="text-align:left;">showCheckbox</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">每行前边显示复选框</td></tr><tr><td style="text-align:left;">showSelectAll</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">显示全选复选框</td></tr></tbody></table><h2 id="summaryoptions" tabindex="-1">SummaryOptions <a class="header-anchor" href="#summaryoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">enable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用合计行</td></tr><tr><td style="text-align:left;">customSummaryStyle</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">() =&gt; {}</td><td style="text-align:left;">合计行自定义样式，对启用合计行模板无效</td></tr><tr><td style="text-align:left;">groupFields</td><td style="text-align:left;"><code>array&lt;string&gt;</code></td><td style="text-align:left;">[]</td><td style="text-align:left;">分组合计字段</td></tr><tr><td style="text-align:left;">mode</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">client</td><td style="text-align:left;">合计交互模式，可以选择client和server两个值</td></tr><tr><td style="text-align:left;">position</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">false</td><td style="text-align:left;">合计行显示位置，可以选择bottom、top和both三个值</td></tr></tbody></table><h2 id="commandoptions" tabindex="-1">CommandOptions <a class="header-anchor" href="#commandoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">enable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用操作列</td></tr><tr><td style="text-align:left;">commands</td><td style="text-align:left;"><code>array&lt;ColumnCommand&gt;</code></td><td style="text-align:left;">-</td><td style="text-align:left;">操作列命令集合</td></tr></tbody></table><h2 id="columncommand" tabindex="-1">ColumnCommand <a class="header-anchor" href="#columncommand" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">type</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">-</td><td style="text-align:left;">类型，与button组件type一致</td></tr><tr><td style="text-align:left;">text</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">-</td><td style="text-align:left;">名称</td></tr><tr><td style="text-align:left;">command</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">-</td><td style="text-align:left;">四种类型，编辑（edit）、删除（remove）、确定（accept）、取消（cancel）</td></tr><tr><td style="text-align:left;">hidden</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">是否隐藏</td></tr><tr><td style="text-align:left;">icon</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">-</td><td style="text-align:left;">图标类选择器名称， 如f-icon</td></tr><tr><td style="text-align:left;">onClick</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">-</td><td style="text-align:left;">触发事件</td></tr></tbody></table><h2 id="sortoptions" tabindex="-1">SortOptions <a class="header-anchor" href="#sortoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">mode</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">client</td><td style="text-align:left;">合计交互模式，可以选择client和server两个值</td></tr></tbody></table><h2 id="rownumberoptions" tabindex="-1">RowNumberOptions <a class="header-anchor" href="#rownumberoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">enable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用行号</td></tr><tr><td style="text-align:left;">heading</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">序号</td><td style="text-align:left;">双击行事件</td></tr><tr><td style="text-align:left;">width</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">36</td><td style="text-align:left;">行号宽度</td></tr></tbody></table><h2 id="groupoptions" tabindex="-1">GroupOptions <a class="header-anchor" href="#groupoptions" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">默认值</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">enable</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用数据分组</td></tr><tr><td style="text-align:left;">groupFields</td><td style="text-align:left;"><code>array&lt;string&gt;</code></td><td style="text-align:left;">[]</td><td style="text-align:left;">行数据分组字段；多字段分组以英文逗号分隔</td></tr><tr><td style="text-align:left;">showGroupedColumn</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">true</td><td style="text-align:left;">在DataGrid中显示被分组的列</td></tr><tr><td style="text-align:left;">showGroupPanel</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">显示分组面板</td></tr><tr><td style="text-align:left;">showSummary</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">false</td><td style="text-align:left;">启用合计行</td></tr><tr><td style="text-align:left;">customSummaryStyle</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">() =&gt; {}</td><td style="text-align:left;">自行分组合计行样式</td></tr><tr><td style="text-align:left;">customGroupRowStyle</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">() =&gt; {}</td><td style="text-align:left;">自定义分组行样式</td></tr><tr><td style="text-align:left;">customGroupRow</td><td style="text-align:left;"><code>function</code></td><td style="text-align:left;">() =&gt; {}</td><td style="text-align:left;">自定义分组合计内容</td></tr></tbody></table><h2 id="treeview-event" tabindex="-1">TreeView Event <a class="header-anchor" href="#treeview-event" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">事件名</th><th style="text-align:left;">参数</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">clickRow</td><td style="text-align:left;"><code>Function(index,dataItem)</code></td><td style="text-align:left;">点击行事件</td></tr><tr><td style="text-align:left;">dblclickNode</td><td style="text-align:left;"><code>Function(param: {event,dataItem})</code></td><td style="text-align:left;">双击行事件</td></tr><tr><td style="text-align:left;">selectionChange</td><td style="text-align:left;"><code>Function(selectedRawList)</code></td><td style="text-align:left;">已选数据切换事件</td></tr><tr><td style="text-align:left;">unSelectItem</td><td style="text-align:left;"><code>Function(unSelectedData)</code></td><td style="text-align:left;">取消选中行事件</td></tr><tr><td style="text-align:left;">selectItem</td><td style="text-align:left;"><code>Function(unSelectedData)</code></td><td style="text-align:left;">选中行事件</td></tr><tr><td style="text-align:left;">filterChanged</td><td style="text-align:left;"><code>Function(conditions: { filterConditions, sortConditions})</code></td><td style="text-align:left;">服务端过滤事件</td></tr><tr><td style="text-align:left;">sortChanged</td><td style="text-align:left;"><code>Function(conditions: { filterConditions, sortConditions})</code></td><td style="text-align:left;">服务端排序事件</td></tr><tr><td style="text-align:left;">expandNode</td><td style="text-align:left;"><code>Function(param: { row })</code></td><td style="text-align:left;">展开树节点事件</td></tr></tbody></table><h2 id="treeview-api" tabindex="-1">TreeView API <a class="header-anchor" href="#treeview-api" aria-hidden="true">#</a></h2><p>有些场景下，需要主动触发组件API来实现数据或模板的更新，比如更新数据、更新列对象等，以下是data grid组件实例的方法</p><table><thead><tr><th style="text-align:left;">方法名</th><th style="text-align:left;">参数</th><th style="text-align:left;">说明</th></tr></thead><tbody><tr><td style="text-align:left;">updateDataSource</td><td style="text-align:left;"><code>data: Record&lt;string, any&gt;[]</code></td><td style="text-align:left;">更新数据</td></tr><tr><td style="text-align:left;">updateColumns</td><td style="text-align:left;"><code>columns: DataColumn[]</code></td><td style="text-align:left;">更新列</td></tr><tr><td style="text-align:left;">selectItemByIds</td><td style="text-align:left;"><code>dataItemIds: string[]</code></td><td style="text-align:left;">选中行</td></tr><tr><td style="text-align:left;">unSelectItemByIds</td><td style="text-align:left;"><code>dataItemIds: string[]</code></td><td style="text-align:left;">取消选中行</td></tr><tr><td style="text-align:left;">clearSelection</td><td style="text-align:left;"><code>无</code></td><td style="text-align:left;">清空选中行</td></tr><tr><td style="text-align:left;">removeDataItem</td><td style="text-align:left;"><code>dataIndex: number</code></td><td style="text-align:left;">根据索引删除行</td></tr><tr><td style="text-align:left;">removeDataItemById</td><td style="text-align:left;"><code>dataItemId: string</code></td><td style="text-align:left;">根据标识删除行</td></tr></tbody></table><h2 id="插槽" tabindex="-1">插槽 <a class="header-anchor" href="#插槽" aria-hidden="true">#</a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>暂无内容</p></div></div></div></main><!--[--><!--]--></div></div></div></div></div><footer class="VPFooter has-sidebar" data-v-7931bc62 data-v-f73fcc0f><div class="farris-docs-features-after--bottom-bg" data-v-f73fcc0f><img src="/farris-docs/assets/bg-footer.7ef10b6c.png" class="img-block" data-v-f73fcc0f><!----></div><div class="farris-docs-footer" data-v-f73fcc0f><div class="farris-docs-footer--content" data-v-f73fcc0f><div class="content-intro" data-v-f73fcc0f><div class="content-block" data-v-f73fcc0f><h6 data-v-f73fcc0f>生态产品</h6><a data-v-f73fcc0f><span data-v-f73fcc0f>Farris Design Mobile</span></a><span data-v-f73fcc0f>Farris Design DashBoard</span><span data-v-f73fcc0f>Farris Design V</span><span data-v-f73fcc0f>Farris Design Portal</span><span data-v-f73fcc0f>Farris Design Pix</span></div><div class="content-block" data-v-f73fcc0f><h6 data-v-f73fcc0f>设计原则</h6><span data-v-f73fcc0f>高效</span><span data-v-f73fcc0f>清晰</span><span data-v-f73fcc0f>一致</span><span data-v-f73fcc0f>美观</span></div></div><div class="content-gz" data-v-f73fcc0f><div class="content-block" data-v-f73fcc0f><p data-v-f73fcc0f><img src="/farris-docs/assets/wx-ubml.a7b2cce9.jpg" title="关注UBML公众号" data-v-f73fcc0f></p><h6 data-v-f73fcc0f>关注UBML公众号</h6></div><div class="content-block" data-v-f73fcc0f><p data-v-f73fcc0f><img src="/farris-docs/assets/wx-developer.46ef50c9.jpg" title="加入开发者群" data-v-f73fcc0f></p><h6 data-v-f73fcc0f>加入开发者群</h6></div></div></div></div></footer><!--[--><!--]--><div class="farris-docs-nothome-bg" data-v-7931bc62></div></div></div>
    <script>__VP_HASH_MAP__ = JSON.parse("{\"components_accordion_index.md\":\"777fcfd9\",\"components_area-response_index.md\":\"b9ec3782\",\"components_avatar_index.md\":\"5f9d54c2\",\"components_button-edit_index.md\":\"93fcde03\",\"components_button-group_index.md\":\"9ad2ee8c\",\"components_button_index.md\":\"175bbf28\",\"components_calculator_index.md\":\"fd97b8ec\",\"components_calendar_index.md\":\"f3ac75f5\",\"components_capsule_index.md\":\"50aa361c\",\"components_checkbox_index.md\":\"5f172983\",\"components_color-picker_index.md\":\"74177893\",\"components_combo-list_index.md\":\"cafc6ce7\",\"components_combo-tree_index.md\":\"56cfe4f4\",\"components_condition_index.md\":\"faee1f3b\",\"components_data-grid_index.md\":\"7fd623aa\",\"components_date-picker_index.md\":\"e81b2d31\",\"components_dial_index.md\":\"0a89a729\",\"components_discussion-editor_index.md\":\"0e18c994\",\"components_discussion-list_index.md\":\"15f484ae\",\"components_drawer_index.md\":\"85ec780f\",\"components_dropdown_index.md\":\"67683f6f\",\"components_dynamic-form_index.md\":\"7dc7041a\",\"components_enum-editor_index.md\":\"f48d42bf\",\"components_field-selector_index.md\":\"4b5c361c\",\"components_filter-bar_index.md\":\"841b68e6\",\"components_icon_index.md\":\"ee0d7727\",\"components_image-cropper_index.md\":\"290b302f\",\"components_image_index.md\":\"e63f5add\",\"components_index.md\":\"cc2940d8\",\"components_input-group_index.md\":\"06494ab6\",\"components_language-textbox_index.md\":\"12b240a2\",\"components_layout_index.md\":\"51448b3f\",\"components_list-nav_index.md\":\"5c2409c8\",\"components_list-view_index.md\":\"acd9e799\",\"components_loading_index.md\":\"c340092c\",\"components_lookup_index.md\":\"707529d9\",\"components_mapping-editor_index.md\":\"ab6a8f0e\",\"components_message-box_index.md\":\"a5b7c551\",\"components_modal_index.md\":\"09576f68\",\"components_nav_index.md\":\"b195bd96\",\"components_notify_index.md\":\"99dadc16\",\"components_number-range_index.md\":\"ac1747d2\",\"components_number-spinner_index.md\":\"f6648f53\",\"components_order_index.md\":\"57d3c4b8\",\"components_page-footer_index.md\":\"2e1a0a05\",\"components_page-header_index.md\":\"838469c8\",\"components_pagination_index.md\":\"470a5004\",\"components_popover_index.md\":\"024e64da\",\"components_progress_index.md\":\"f852897c\",\"components_query-solution_index.md\":\"e630edcb\",\"components_radio-group_index.md\":\"009f7f2b\",\"components_rate_index.md\":\"ae30e16d\",\"components_response-toolbar_index.md\":\"49915b23\",\"components_search-box_index.md\":\"7daf0e16\",\"components_section_index.md\":\"cd163844\",\"components_splitter_index.md\":\"9ce287a1\",\"components_step_index.md\":\"5c611720\",\"components_switch_index.md\":\"26afae29\",\"components_tabs_index.md\":\"a3df4e60\",\"components_tags_index.md\":\"ae9f8097\",\"components_text_index.md\":\"3041d9b8\",\"components_textarea_index.md\":\"48d5b0a1\",\"components_time-picker_index.md\":\"9eced733\",\"components_tooltip_index.md\":\"a4f75320\",\"components_transfer_index.md\":\"1f4fe994\",\"components_tree-grid_index.md\":\"d24b6edb\",\"components_tree-view_index.md\":\"140dbd25\",\"components_uploader_index.md\":\"fade076d\",\"components_verify-detail_index.md\":\"711aa66d\",\"components_video_index.md\":\"10b89f6e\",\"guide_internationalization_index.md\":\"178f1374\",\"guide_quick-start_index.md\":\"0a780c32\",\"index.md\":\"8610c06f\"}")</script>
    <script type="module" async src="/farris-docs/assets/app.d774b31e.js"></script>
    
  </body>
</html>